bitkeeper revision 1.1159.258.152 (42905f2aihfbXcLOp47iveS8Fn06aQ)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Sun, 22 May 2005 10:30:02 +0000 (10:30 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Sun, 22 May 2005 10:30:02 +0000 (10:30 +0000)
Fix install.sh script so that it doesn't dereference all symlinks.
Signed-off-by: ian@xensource.com
install.sh

index 7da84dafad17d40fb5c18df78e4c3bf83739b830..295f0843749505d067869a9abb9f519cf5a5b53c 100755 (executable)
@@ -23,7 +23,8 @@ if ! [ -d $dst ]; then
 fi
 
 echo "Installing Xen from '$src' to '$dst'..."
-cp -fdRL $src/* $dst
+(cd $src; tar -cf - --exclude etc/init.d * ) | tar -C $dst -xf -
+cp -fdRL $src/etc/init.d/* $dst/etc/init.d/
 echo "All done."
 
 echo "Checking to see whether prerequisite tools are installed..."